package org.zfes.snowier.zbss.xzy.biz.solution.model;
import java.util.Date;

import org.zfes.snowier.core.data.IBaseModel;
import org.zfes.snowier.core.util.ZDateUtil;
public class SolutionAlgorithm extends IBaseModel{

	private static final long serialVersionUID = 1L;
	
	public SolutionAlgorithm() {}
	public SolutionAlgorithm(Long id) {
		this.setId(id);
	}
	//<-------------------------------------------->

	  private java.lang.Long solutionId;
	  private java.lang.Long algorithmId;
	  private java.lang.Byte status;
	  private java.util.Date createTime;
	  private java.util.Date updateTime;
	  public SolutionAlgorithm(Long solutionId, Long algorithmId) {
			super();
			this.solutionId = solutionId;
			this.algorithmId = algorithmId;
			this.status = Byte.valueOf("1");
			this.createTime = ZDateUtil.newDate();
			this.updateTime = ZDateUtil.newDate();
		}
	
	public SolutionAlgorithm(Long solutionId, Long algorithmId, Byte status, Date createTime, Date updateTime) {
		super();
		this.solutionId = solutionId;
		this.algorithmId = algorithmId;
		this.status = status;
		this.createTime = createTime;
		this.updateTime = updateTime;
	}
	//<-------------------------------------------->
	public SolutionAlgorithm setSolutionId(java.lang.Long solutionId){
	 this.solutionId=solutionId;
	 return this;
	}
	public java.lang.Long getSolutionId(){
		return this.solutionId;
	}
	public SolutionAlgorithm setAlgorithmId(java.lang.Long algorithmId){
	 this.algorithmId=algorithmId;
	 return this;
	}
	public java.lang.Long getAlgorithmId(){
		return this.algorithmId;
	}
	public SolutionAlgorithm setStatus(java.lang.Byte status){
	 this.status=status;
	 return this;
	}
	public java.lang.Byte getStatus(){
		return this.status;
	}
	public SolutionAlgorithm setCreateTime(java.util.Date createTime){
	 this.createTime=createTime;
	 return this;
	}
	public java.util.Date getCreateTime(){
		return this.createTime;
	}
	public SolutionAlgorithm setUpdateTime(java.util.Date updateTime){
	 this.updateTime=updateTime;
	 return this;
	}
	public java.util.Date getUpdateTime(){
		return this.updateTime;
	}

}
